home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0799 / 605 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.2 KB

  1. From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2. Date: Mon, 8 Nov 93 10:39:29 +0100
  3. Message-Id: <9311080939.AA25671@issan.informatik.uni-dortmund.de>
  4. To: mint@atari.archive.umich.edu
  5. In-Reply-To: <9311041754.AA00307@jelal.north.de> (message from Juergen Lock on Thu, 4 Nov 93 18:54:16 CET)
  6. Subject: gcc -mbaserel (was: Re: too much mintlibs updates???)
  7.  
  8. >>>>> Juergen Lock <nox@jelal.north.de> writes:
  9.  
  10. |> Thomas Schulze writes:
  11. |>> (There is a risk, of course. At the moment for example
  12. |>> gcc-2.5.2 seems to generate a defect mbaserel mintlib...)
  13.  
  14. |>  btw... is there a gcc version >2.3.3 yet that compiles a working
  15. |> elvis 1.7?  CFLAGS= -O2 -Wall -mbaserel -fomit-frame-pointer...
  16.  
  17. I have no problems with -mbaserel since i have applied this patch to
  18. gcc-2.5.2:
  19.  
  20. --- orig.st/calls.c    Mon Oct 25 18:46:18 1993
  21. +++ calls.c    Thu Nov  4 23:55:42 1993
  22. @@ -2401,6 +2401,11 @@
  23.       library functions shouldn't have many args.  */
  24.  
  25.    argvec = (struct arg *) alloca ((nargs + 1) * sizeof (struct arg));
  26. +
  27. +#ifdef ENCODE_SECTION_INFO
  28. +  /* mark it as a function (to be in the text section that is) */
  29. +  SYMBOL_REF_FLAG (fun) = 1;
  30. +#endif
  31.  
  32.    INIT_CUMULATIVE_ARGS (args_so_far, NULL_TREE, fun);
  33.  
  34.  
  35.